package cn.springmvc.dao;


import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import cn.springmvc.model.Step4;
import cn.springmvc.model.Step4Example;
@Repository
public interface Step4Mapper {
    int countByExample(Step4Example example);

    int deleteByExample(Step4Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(Step4 record);

    int insertSelective(Step4 record);

    List<Step4> selectByExample(Step4Example example);

    Step4 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Step4 record, @Param("example") Step4Example example);

    int updateByExample(@Param("record") Step4 record, @Param("example") Step4Example example);

    int updateByPrimaryKeySelective(Step4 record);

    int updateByPrimaryKey(Step4 record);
    
    List<Step4> getStep4ByNianfen(@Param("year")int year);
    Step4 getStep4ByNameAndNianfen(@Param("year")int year,@Param("name")String name);
}